package net.sppan.base.enumType;


/**
 *
 * 游戏种类
 */
public enum GameType {

    mg_speed("mg_speed","爵对速度"),
    mg_passsion("mg_passsion","爵对激情"),
    mg_freedom("mg_freedom","爵对自由");

    private String name;

    private String desc;


     GameType(String name , String desc){
         this.name = name;
         this.desc = desc;
    }

    public static String getDescByName(String name){
         return GameType.valueOf(name).desc;
    }

}
